﻿@model BusinessManagementStudio.ViewModel.CompanyFMContractor

@{
    ViewBag.Title = "Sub-Contractor Assignment";
    TempData.Keep();
}

<title>Sub Contractor Assignment</title>

<h2 align="center">Contractor Assignment</h2>

@using (Html.BeginForm("ContractorAssignmentConfirmation", "Maintenance"))
{
    @Html.ValidationSummary(true)

    <table align="center">
        <tr>
            <td width="150">Company Name :</td>
            <td>@Html.DropDownList("CompanyName_Assignment", Model.company.CompanyNameList)</td>
        </tr>
        <tr>
            <td width="150">FM Code :</td>
            <td>@Html.DropDownList("FMCode_Assignment", Model.fm.FMNameList)</td>
        </tr>
        <tr>
            <td width="120">Quotation No. :</td>
            <td>@Html.TextBox("QuotationNo_Assignment")</td>
        </tr>
        <tr>
            <td width="150">Contractor Name :</td>
            <td>@Html.DropDownList("ContractorName_Assignment", Model.contractor.ContractorNameList)</td>
        </tr>
        <tr>
            <td width="150">Amount :</td>
            <td>@Html.DropDownList("Contractor_Currency", Model.CurrencyList) @Html.TextBox("Contractor_Amount")</td>
        </tr>
    </table>

    <br align="center" />

    <div align="center">
        <button type="submit" name="Command" value="ConfirmAssignment">Confirm</button>
        <button type="submit" name="Command" value="Cancel">Cancel</button>
    </div>

    <br />
    <div align="center">© 2013 BD Studio</div>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}